package pkg

/*
func UploadVideo(filename string, file modfile.File) bool {
	accessKey := "YDuHdDR8fmsWSNfORq1EcVXNsElcct414eoL1wvb"
	secretKey := "SZxEbWqmtFJ4TQhdgadPaZqxZa0ePlqFZixiewQg"
	mac := credentials.NewCredentials(accessKey, secretKey)
	bucket := "swyb93j1m.hn-bkt.clouddn.com"
	key := filename
	uploadManager := uploader.NewUploadManager(&uploader.UploadManagerOptions{
		Options: http_client.Options{
			Credentials: mac,
		},
	})
	err := uploadManager.UploadReader(context.Background(), file, &uploader.ObjectOptions{
		BucketName: bucket,
		ObjectName: &key,
		CustomVars: map[string]string{
			"name": "github logo",
		},
		FileName: filename,
	}, nil)
	if err != nil {
		return false
	}
	return true
}
*/
